.ks-dialog, .ks-overlay {
    position: absolute; /*防止移位带来的闪烁*/
    left: -9999px;
    top: -9999px;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.ks-overlay-hidden {
    visibility: hidden;
}

.ks-overlay-mask-hidden {
    display: none;
}

.ks-dialog, .ks-popup {
    background-color: #FBFBFB;
    border: 1px solid #ACB4BE;
}

.ks-dialog .ks-dialog-header {
    background: repeat-x scroll 0 0 #D6DBE2;
    background-image: url("dialog-hd.png");
    border-bottom: 1px solid #ACB4BE;
    font-size: 14px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding: 0 0 0 18px;
}

.ks-overlay-close {
    height: 18px;
    width: 18px;
    border: 1px solid transparent;
    right: 6px;
    top: 6px;
    z-index: 99;
    vertical-align: middle;
    position: absolute;
    text-decoration: none;
    outline: none;
    _border-color: tomato;
    _filter: chroma(color = tomato);
    overflow: hidden;
    cursor: pointer;
}

.ks-overlay-close .ks-overlay-close-x {
    display: block;
    background: no-repeat;
    background-image: url("close.png");
    height: 13px;
    text-indent: -9999px;
    width: 13px;
    margin: 2.5px;
}

.ks-overlay-close:hover {
    border: 1px solid #CED5E0;
    background: white;
}

.ks-ext-mask {
    background-color: #000;
    opacity: 0.3;
    filter: alpha(opacity = 15);
}

.ks-ext-loading {
    opacity: 0.3;
    filter: alpha(opacity = 15);
    background: #000 center center no-repeat scroll;
    background-image: url("loading.gif");
}

.ke-global-loading .ks-ext-loading {
    background-attachment: fixed;
}

.ks-overlay .ks-resizable-handler {
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    position: absolute;
}

.ks-overlay .ks-resizable-handler-b {
    height: 6px;
    width: 100%; /*background-color: yellow;*/
    /*-6px ie6 cross iframe shim*/
    bottom: 0;
    left: 0;
    cursor: n-resize;
}

.ks-overlay .ks-resizable-handler-t {
    height: 6px;
    width: 100%; /*background-color: yellow;*/
    top: 0;
    left: 0;
    cursor: n-resize;
}

.ks-overlay .ks-resizable-handler-l {
    height: 100%;
    -height: expression(this.parentNode.offsetHeight);
    width: 6px; /*background-color: yellow;*/
    top: 0;
    left: 0;
    cursor: e-resize;
}

.ks-overlay .ks-resizable-handler-r {
    height: 100%;
    -height: expression(this.parentNode.offsetHeight); /*background-color: yellow;*/
    width: 6px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: e-resize;
}

.ks-overlay .ks-resizable-handler-bl {
    height: 6px;
    width: 6px; /*background-color: green;*/
    z-index: 1;
    bottom: 0;
    left: 0;
    cursor: sw-resize;
}

.ks-overlay .ks-resizable-handler-br {
    height: 6px;
    width: 6px;
    z-index: 1; /*background-color: green;*/
    bottom: 0;
    right: 0;
    cursor: se-resize;
}

.ks-overlay .ks-resizable-handler-tl {
    height: 6px;
    width: 6px;
    z-index: 1; /*background-color: green;*/
    top: 0;
    left: 0;
    cursor: nw-resize;
}

.ks-overlay .ks-resizable-handler-tr {
    height: 6px;
    width: 6px;
    z-index: 1; /*background-color: green;*/
    top: 0;
    right: 0;
    cursor: ne-resize;
}